package com.alice.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "PageParam", description = "分页工具类")
public class PageParam {

    @ApiModelProperty(value = "页数", required = true, example = "1")
    private Integer pageNo;

    @ApiModelProperty(value = "每页的个数", required = true, example = "10")
    private Integer size;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
